From cb1babeebaeb7d19fd721ea503c46a79536aae2a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 14 May 2021 18:43:52 -0400 Subject: [PATCH] ngl: Add padding between cached glyphs Without this, adjacent items in the cache sometimes bleed into the texture for a glyph. --- gsk/ngl/gsknglglyphlibrary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/ngl/gsknglglyphlibrary.c b/gsk/ngl/gsknglglyphlibrary.c index 2179a804d7..3f998f4a05 100644 --- a/gsk/ngl/gsknglglyphlibrary.c +++ b/gsk/ngl/gsknglglyphlibrary.c @@ -318,7 +318,7 @@ gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self, sizeof *value, width, height, - 0, + 1, &packed_x, &packed_y); memcpy (&value->ink_rect, &ink_rect, sizeof ink_rect); -- 2.30.2